// 选择所属机房
import request from '@/utils/request'
import { ParamArr } from '../../public/js/paramarr'

export function getComputerRoomList() {
  return request({
    dmName: 'TCoreDM',
    lpName: 'GetComputerRoomList',
    vPar: new ParamArr()
  })
}
// 选择机器
export function getAgentList() {
  return request({
    dmName: 'TCoreDM',
    lpName: 'GetAgentList',
    vPar: new ParamArr()
  })
}
// 选择负责人
export function getComputerManagerList() {
  return request({
    dmName: 'TCoreDM',
    lpName: 'GetComputerManagerList',
    vPar: new ParamArr()
  })
}
// 选择业务系统
export function getComputerBusinessList() {
  return request({
    dmName: 'TCoreDM',
    lpName: 'GetComputerBusinessList',
    vPar: new ParamArr()
  })
}
// 选择应用
export function getProgramList() {
  return request({
    dmName: 'THomeDM',
    lpName: 'GetProgramList',
    vPar: new ParamArr()
  })
}
// 选择指标
export function getTargetList(data) {
  return request({
    dmName: 'THomeDM',
    lpName: 'GetTargetList',
    vPar: data
  })
}
// 选择指标
export function getWebAgentList(data) {
  return request({
    dmName: 'TCoreDM',
    lpName: 'GetWebAgentList',
    vPar: data
  })
}
// 选择指标
export function getServerTime(data) {
  return request({
    dmName: 'TCoreDM',
    lpName: 'GetServerTime',
    vPar: data
  })
}
// 选择指标
export function setServerTime(data) {
  return request({
    dmName: 'TCoreDM',
    lpName: 'SetServerTime',
    vPar: data
  })
}

export function transitMsg(data, options) {
  return request({
    dmName: 'TCoreDM',
    lpName: 'TransitMsg',
    vPar: data,
    options
  })
}

// 获取机器列表
export function getAgentListByCore(data) {
  return request({
    dmName: 'TCoreDM',
    lpName: 'GetAgentListByCore',
    vPar: data
  })
}

// 获取应用视图树数据
export function getControlComputerView() {
  return request({
    dmName: 'TCoreDM',
    lpName: 'GetControlComputerView',
    vPar: new ParamArr()
  })
}

// 获取应用视图数据
export function getWebComputerView() {
  return request({
    dmName: 'TCoreDM',
    lpName: 'GetWebComputerView',
    vPar: new ParamArr()
  })
}

// 获取应用视图表数据
export function getTargetByComputerIDProgramID(data) {
  return request({
    dmName: 'TCoreDM',
    lpName: 'GetTargetByComputerIDProgramID',
    vPar: data
  })
}

// 获取应用视图指标单元格内容
export function getTargetValue(data, options) {
  return request({
    dmName: 'TCoreDM',
    lpName: 'GetTargetValue',
    vPar: data,
    options
  })
}

// 应用视图执行脚本
export function exeTarget(data) {
  return request({
    dmName: 'TCoreDM',
    lpName: 'ExeTarget',
    vPar: data
  })
}

// 应用视图重置脚本
export function getTargetAID(data, options) {
  return request({
    dmName: 'TCoreDM',
    lpName: 'GetTargetAID',
    vPar: data,
    options
  })
}

// 应用视图停止指标
export function getTarget(data) {
  return request({
    dmName: 'TCoreDM',
    lpName: 'GetTarget',
    vPar: data
  })
}

// 应用视图指标查看
export function getTargetVerExe(data) {
  return request({
    dmName: 'TCoreDM',
    lpName: 'GetTargetVerExe',
    vPar: data
  })
}

// 指标监视数据
export function getTargetMonitor(data) {
  return request({
    dmName: 'TCoreDM',
    lpName: 'GetTargetMonitor',
    vPar: data
  })
}

export function getWebTargetGroup(data) {
  return request({
    dmName: 'TCoreDM',
    lpName: 'GetWebTargetGroup',
    vPar: data
  })
}

export function getScriptTime(data) {
  return request({
    dmName: 'TCoreDM',
    lpName: 'GetScriptTime',
    vPar: data
  })
}

// 修改采集策略
export function setScriptTime(data) {
  return request({
    dmName: 'TCoreDM',
    lpName: 'SetScriptTime',
    vPar: data
  })
}

// 新增采集策略
export function newScriptTime(data) {
  return request({
    dmName: 'TCoreDM',
    lpName: 'NewScriptTime',
    vPar: data
  })
}

// 管理视图获取树数据
export function getControlComputerViewFast(data) {
  return request({
    dmName: 'TCoreDM',
    lpName: 'GetControlComputerViewFast',
    vPar: data
  })
}

// 恢复指标
export function delTargetPause(data) {
  return request({
    dmName: 'TCoreDM',
    lpName: 'DelTargetPause',
    vPar: data
  })
}

// 暂停指标
export function addTargetPause(data) {
  return request({
    dmName: 'TCoreDM',
    lpName: 'AddTargetPause',
    vPar: data
  })
}

// 解锁屏幕
export function getAgentListByIPs(data) {
  return request({
    dmName: 'TCoreDM',
    lpName: 'GetAgentListByIPs',
    vPar: data
  })
}

// 获取设备信息
export function getComputer(data) {
  return request({
    dmName: 'TCoreDM',
    lpName: 'GetComputer',
    vPar: data
  })
}

// 更新设备信息
export function setComputerBasicInfo(data) {
  return request({
    dmName: 'TCoreDM',
    lpName: 'SetComputerBasicInfo',
    vPar: data
  })
}

// 获取组件管理数据
export function getWebComponentGroup(data) {
  return request({
    dmName: 'TCoreDM',
    lpName: 'GetWebComponentGroup',
    vPar: data
  })
}

// 获取组件管理表格数据
export function getWebComponentList(data) {
  return request({
    dmName: 'TCoreDM',
    lpName: 'GetWebComponentList',
    vPar: data
  })
}

// 添加组件数据
export function getComponent(data) {
  return request({
    dmName: 'TCoreDM',
    lpName: 'GetComponent',
    vPar: data
  })
}

// 修改组件
export function setComponent(data) {
  return request({
    dmName: 'TCoreDM',
    lpName: 'SetComponent',
    vPar: data
  })
}

// 增加组件
export function newComponent(data) {
  return request({
    dmName: 'TCoreDM',
    lpName: 'NewComponent',
    vPar: data
  })
}

// 获取关联组件数据
export function getComponentScriptLst(data) {
  return request({
    dmName: 'TCoreDM',
    lpName: 'GetComponentScriptLst',
    vPar: data
  })
}

// 移动组件
export function moveComponent(data) {
  return request({
    dmName: 'TCoreDM',
    lpName: 'MoveComponent',
    vPar: data
  })
}

// 复制组件
export function pasteComponent(data) {
  return request({
    dmName: 'TCoreDM',
    lpName: 'PasteComponent',
    vPar: data
  })
}

// 立即生效
export function resetComponentScript(data) {
  return request({
    dmName: 'TCoreDM',
    lpName: 'ResetComponentScript',
    vPar: data
  })
}

// 执行范围
export function getComponentExecScope(data) {
  return request({
    dmName: 'TCoreDM',
    lpName: 'GetComponentExecScope',
    vPar: data
  })
}

// 保存执行范围信息
export function setComponentExecScope(data) {
  return request({
    dmName: 'TCoreDM',
    lpName: 'SetComponentExecScope',
    vPar: data
  })
}

// 取消执行范围
export function delComponentExecScope(data) {
  return request({
    dmName: 'TCoreDM',
    lpName: 'DelComponentExecScope',
    vPar: data
  })
}

// 获取组件审核数据
export function getComponentAuditList(data) {
  return request({
    dmName: 'TCoreDM',
    lpName: 'GetComponentAuditList',
    vPar: data
  })
}

// 审核组件
export function auditComponentList(data) {
  return request({
    dmName: 'TCoreDM',
    lpName: 'AuditComponentList',
    vPar: data
  })
}

// 删除分组
export function delComponent(data) {
  return request({
    dmName: 'TCoreDM',
    lpName: 'DelComponent',
    vPar: data
  })
}

// 搜索组件
export function getComponentFindList(data) {
  return request({
    dmName: 'TCoreDM',
    lpName: 'GetComponentFindList',
    vPar: data
  })
}

// 获取组件版本数据
export function getComponentVerLst(data) {
  return request({
    dmName: 'TCoreDM',
    lpName: 'GetComponentVerLst',
    vPar: data
  })
}

// 恢复脚本版本
export function recoverComponent(data) {
  return request({
    dmName: 'TCoreDM',
    lpName: 'RecoverComponent',
    vPar: data
  })
}

// 删除脚本
export function delCurrentComponent(data) {
  return request({
    dmName: 'TCoreDM',
    lpName: 'DelCurrentComponent',
    vPar: data
  })
}

// 获取模板管理数据
export function getMouleList() {
  return request({
    dmName: 'TCoreDM',
    lpName: 'GetMouleList',
    vPar: new ParamArr()
  })
}

// 增加分组
export function addMouleGroup(data) {
  return request({
    dmName: 'TCoreDM',
    lpName: 'AddMouleGroup',
    vPar: data
  })
}

// 修改分组
export function setMouleGroup(data) {
  return request({
    dmName: 'TCoreDM',
    lpName: 'SetMouleGroup',
    vPar: data
  })
}

// 删除分组
export function delMouleGroup(data) {
  return request({
    dmName: 'TCoreDM',
    lpName: 'DelMouleGroup',
    vPar: data
  })
}

// 增加模板
export function addMouleFile(data) {
  return request({
    dmName: 'TCoreDM',
    lpName: 'AddMouleFile',
    vPar: data
  })
}

// 添加应用
export function addMouleProgram(data) {
  return request({
    dmName: 'TCoreDM',
    lpName: 'AddMouleProgram',
    vPar: data
  })
}

// 审核脚本
export function auditMoule(data) {
  return request({
    dmName: 'TCoreDM',
    lpName: 'AuditMoule',
    vPar: data
  })
}

// 删除脚本
export function delMoule(data) {
  return request({
    dmName: 'TCoreDM',
    lpName: 'DelMoule',
    vPar: data
  })
}

// 获取模块数据
export function getMouleVerLst(data) {
  return request({
    dmName: 'TCoreDM',
    lpName: 'GetMouleVerLst',
    vPar: data
  })
}

// 恢复模块数据
export function recoverMoule(data, options) {
  return request({
    dmName: 'TCoreDM',
    lpName: 'RecoverMoule',
    vPar: data,
    options
  })
}

export function getMoule(data) {
  return request({
    dmName: 'TCoreDM',
    lpName: 'GetMoule',
    vPar: data
  })
}

export function getProgramDefAgent(data) {
  return request({
    dmName: 'TCoreDM',
    lpName: 'GetProgramDefAgent',
    vPar: data
  })
}
export function getScriptTimeList(data) {
  return request({
    dmName: 'TCoreDM',
    lpName: 'GetScriptTimeList',
    vPar: data
  })
}
export function delScriptTime(data) {
  return request({
    dmName: 'TCoreDM',
    lpName: 'DelScriptTime',
    vPar: data
  })
}
export function newScriptTimeGroup(data) {
  return request({
    dmName: 'TCoreDM',
    lpName: 'NewScriptTimeGroup',
    vPar: data
  })
}
export function delScriptTimeGroup(data) {
  return request({
    dmName: 'TCoreDM',
    lpName: 'DelScriptTimeGroup',
    vPar: data
  })
}
export function setScriptTimeGroup(data) {
  return request({
    dmName: 'TCoreDM',
    lpName: 'SetScriptTimeGroup',
    vPar: data
  })
}
export function pasteScriptTime(data) {
  return request({
    dmName: 'TCoreDM',
    lpName: 'PasteScriptTime',
    vPar: data
  })
}
export function pasteScriptTimeGroup(data) {
  return request({
    dmName: 'TCoreDM',
    lpName: 'PasteScriptTimeGroup',
    vPar: data
  })
}

export function newScriptTimeCustom(data) {
  return request({
    dmName: 'TCoreDM',
    lpName: 'NewScriptTimeCustom',
    vPar: data
  })
}

export function setScriptTimeCustom(data) {
  return request({
    dmName: 'TCoreDM',
    lpName: 'SetScriptTimeCustom',
    vPar: data
  })
}

export function newTarget(data) {
  return request({
    dmName: 'TCoreDM',
    lpName: 'NewTarget',
    vPar: data
  })
}

// 获取设备信息
export function getMouleTargetList(data) {
  return request({
    dmName: 'TCoreDM',
    lpName: 'GetMouleTargetList',
    vPar: data
  })
}

// 同步
export function synchronizeMoule(data) {
  return request({
    dmName: 'TCoreDM',
    lpName: 'SynchronizeMoule',
    vPar: data
  })
}

// 保存模板
export function setMoule(data) {
  return request({
    dmName: 'TCoreDM',
    lpName: 'SetMoule',
    vPar: data
  })
}

// 按分组获取参数
export function getTargetParam(data) {
  return request({
    dmName: 'TCoreDM',
    lpName: 'GetTargetParam',
    vPar: data
  })
}

// 按应用获取参数
export function getMouleParam(data) {
  return request({
    dmName: 'TCoreDM',
    lpName: 'GetMouleParam',
    vPar: data
  })
}

export function setTargetParamLst(data) {
  return request({
    dmName: 'TCoreDM',
    lpName: 'SetTargetParamLst',
    vPar: data
  })
}

// 获取机器关系树数据
export function getAgentRelationList(data) {
  return request({
    dmName: 'TCoreDM',
    lpName: 'GetAgentRelationList',
    vPar: data
  })
}

// 获取机器关系表格数据
export function getAgentRelation(data) {
  return request({
    dmName: 'TCoreDM',
    lpName: 'GetAgentRelation',
    vPar: data
  })
}

// 修改机器
export function setAgentRelation(data) {
  return request({
    dmName: 'TCoreDM',
    lpName: 'SetAgentRelation',
    vPar: data
  })
}

// 删除机器
export function delAgentRelation(data) {
  return request({
    dmName: 'TCoreDM',
    lpName: 'DelAgentRelation',
    vPar: data
  })
}

// 增加机器
export function addAgentRelation(data) {
  return request({
    dmName: 'TCoreDM',
    lpName: 'AddAgentRelation',
    vPar: data
  })
}

// 机器人总汇
export function getAgentTaskQuery(data) {
  return request({
    dmName: 'TCoreDM',
    lpName: 'GetAgentTaskQuery',
    vPar: data
  })
}

// 中转服务器
export function getTransitList() {
  return request({
    dmName: 'TCoreDM',
    lpName: 'GetTransitList',
    vPar: new ParamArr()
  })
}

// 删除服务器
export function detTransit(data) {
  return request({
    dmName: 'TCoreDM',
    lpName: 'DetTransit',
    vPar: data
  })
}

// 获取机器管理树结构数据
export function getWebAgentGroup() {
  return request({
    dmName: 'TCoreDM',
    lpName: 'GetWebAgentGroup',
    vPar: new ParamArr()
  })
}

// 代理分发机器
export function agentPush(vPar) {
  return request({
    dmName: 'TCoreDM',
    lpName: 'AgentPush',
    vPar
  })
}

export function agentUPush(vPar) {
  return request({
    dmName: 'TCoreDM',
    lpName: 'AgentUPush'
  })
}

export function getMutilAgentList(vPar) {
  return request({
    dmName: 'TCoreDM',
    lpName: 'GetMutilAgentList',
    vPar
  })
}

export function webReadMutilImportUser(vPar, fileObj) {
  return request({
    dmName: 'TCoreDM',
    lpName: 'WebReadMutilImportUser',
    vPar,
    fileObj
  })
}

export function getAgentRaConfig(vPar) {
  return request({
    dmName: 'TCoreDM',
    lpName: 'GetAgentRaConfig',
    vPar
  })
}

export function setAgentRaConfig(vPar) {
  return request({
    dmName: 'TCoreDM',
    lpName: 'SetAgentRaConfig',
    vPar
  })
}

export function setAgentOffNoticeUser(vPar) {
  return request({
    dmName: 'TCoreDM',
    lpName: 'SetAgentOffNoticeUser',
    vPar
  })
}

// 更新代理
export function batchUpdateAgent(vPar) {
  return request({
    dmName: 'TCoreDM',
    lpName: 'BatchUpdateAgent',
    vPar
  })
}

// 重启代理
export function batchRestartAgent(vPar) {
  return request({
    dmName: 'TCoreDM',
    lpName: 'BatchRestartAgent',
    vPar
  })
}

// 卸载代理
export function batchUninstallAgent(vPar) {
  return request({
    dmName: 'TCoreDM',
    lpName: 'BatchUninstallAgent',
    vPar
  })
}

// 固定标识
export function batchFixedAgentId(vPar) {
  return request({
    dmName: 'TCoreDM',
    lpName: 'BatchFixedAgentId',
    vPar
  })
}

// 删除机器
export function deleteOffAgent(vPar) {
  return request({
    dmName: 'TCoreDM',
    lpName: 'DeleteOffAgent',
    vPar
  })
}

// 关闭机器
export function batchCloseComputer(vPar) {
  return request({
    dmName: 'TCoreDM',
    lpName: 'BatchCloseComputer',
    vPar
  })
}

// 重启机器
export function batchRestartComputer(vPar) {
  return request({
    dmName: 'TCoreDM',
    lpName: 'BatchRestartComputer',
    vPar
  })
}

// 屏幕解锁
export function batchUnLockAgent(vPar) {
  return request({
    dmName: 'TCoreDM',
    lpName: 'BatchUnLockAgent',
    vPar
  })
}

// 设置同步事件
export function setAgentSynTime(vPar) {
  return request({
    dmName: 'TCoreDM',
    lpName: 'SetAgentSynTime',
    vPar
  })
}

// 设置离线通知
export function setAgentOffNotice(vPar) {
  return request({
    dmName: 'TCoreDM',
    lpName: 'SetAgentOffNotice',
    vPar
  })
}

// ChromeAutomation
export function batchChromeAutomation(vPar) {
  return request({
    dmName: 'TCoreDM',
    lpName: 'BatchChromeAutomation',
    vPar
  })
}

// 用户开机启动
export function batchCurUserRun(vPar) {
  return request({
    dmName: 'TCoreDM',
    lpName: 'BatchCurUserRun',
    vPar
  })
}

// 自动登录注册表修改
export function batchModifyAutoLogon(vPar) {
  return request({
    dmName: 'TCoreDM',
    lpName: 'BatchModifyAutoLogon',
    vPar
  })
}

// 允许Session启动
export function setAgentSession0Enable(vPar) {
  return request({
    dmName: 'TCoreDM',
    lpName: 'SetAgentSession0Enable',
    vPar
  })
}

export function getRepeatIPList(vPar) {
  return request({
    dmName: 'TCoreDM',
    lpName: 'GetRepeatIPList',
    vPar
  })
}

export function getAgentListByIP(vPar) {
  return request({
    dmName: 'TCoreDM',
    lpName: 'GetAgentListByIP',
    vPar
  })
}

export function prcoessRepeatIP(vPar) {
  return request({
    dmName: 'TCoreDM',
    lpName: 'PrcoessRepeatIP',
    vPar
  })
}

export function getResFileBuffer(vPar) {
  return request({
    dmName: 'TCoreDM',
    lpName: 'GetResFileBuffer',
    vPar
  })
}

export function getAgent(vPar) {
  return request({
    dmName: 'TCoreDM',
    lpName: 'GetAgent',
    vPar
  })
}

// 修改标识
export function changeAgentID(vPar) {
  return request({
    dmName: 'TCoreDM',
    lpName: 'ChangeAgentID',
    vPar
  })
}

// 禁用
export function setAgentForbit(vPar) {
  return request({
    dmName: 'TCoreDM',
    lpName: 'SetAgentForbit',
    vPar
  })
}

// 停用
export function setAgentPause(vPar) {
  return request({
    dmName: 'TCoreDM',
    lpName: 'SetAgentPause',
    vPar
  })
}

// 唤醒
export function wakeupAgent(vPar) {
  return request({
    dmName: 'TCoreDM',
    lpName: 'WakeupAgent',
    vPar
  })
}

// 获取密集机器人数据
export function getAgentMstscUsers(vPar) {
  return request({
    dmName: 'TCoreDM',
    lpName: 'GetAgentMstscUsers',
    vPar
  })
}

// 设置密集机器人
export function setAgentMstscUsers(vPar) {
  return request({
    dmName: 'TCoreDM',
    lpName: 'SetAgentMstscUsers',
    vPar
  })
}
// 授权
export function getLicensesInfo(vPar) {
  return request({
    dmName: 'TCoreDM',
    lpName: 'GetLicensesInfo',
    vPar
  })
}
// 授权继续
export function setLicensesInfo(vPar) {
  return request({
    dmName: 'TCoreDM',
    lpName: 'SetLicensesInfo',
    vPar
  })
}
// 检查文件状态
export function checkResFiles(vPar) {
  return request({
    dmName: 'TCoreDM',
    lpName: 'CheckResFiles',
    vPar
  })
}
// 检查文件状态
export function setAutoUpdate(vPar) {
  return request({
    dmName: 'TCoreDM',
    lpName: 'SetAutoUpdate',
    vPar
  })
}
// 中转服务器属性
export function getTransit(vPar) {
  return request({
    dmName: 'TCoreDM',
    lpName: 'GetTransit',
    vPar
  })
}

export function getServerLst() {
  return request({
    dmName: 'TCoreDM',
    lpName: 'GetServerLst',
    vPar: new ParamArr()
  })
}
export function editTransit(vPar) {
  return request({
    dmName: 'TCoreDM',
    lpName: 'EditTransit',
    vPar
  })
}
// 资源统计初始化
export function getAgentResNum(data) {
  return request({
    dmName: 'TCoreDM',
    lpName: 'GetAgentResNum',
    vPar: data
  })
}

// 关键字查询操作
export function checkTargetByKey(data) {
  return request({
    dmName: 'TCoreDM',
    lpName: 'CheckTargetByKey',
    vPar: data
  })
}

// 关键字查询组件
export function checkComponentByKey(data) {
  return request({
    dmName: 'TCoreDM',
    lpName: 'CheckComponentByKey',
    vPar: data
  })
}
export function getTargetGroupMgr(vPar) {
  return request({
    dmName: 'TCoreDM',
    lpName: 'GetTargetGroupMgr',
    vPar
  })
}

export function getWebVCLList(vPar) {
  return request({
    dmName: 'TCoreDM',
    lpName: 'GetWebVCLList',
    vPar
  })
}

export function getComonentListQuery(vPar) {
  return request({
    dmName: 'TCoreDM',
    lpName: 'GetComonentListQuery',
    vPar
  })
}
// 外网管理初始化
export function getInternetList(data) {
  return request({
    dmName: 'TCoreDM',
    lpName: 'GetInternetList',
    vPar: data
  })
}
// 启用
export function setInternetIPValue(data) {
  return request({
    dmName: 'TCoreDM',
    lpName: 'SetInternetIPValue',
    vPar: data
  })
}
// 删除代理
export function detInternet(data) {
  return request({
    dmName: 'TCoreDM',
    lpName: 'DetInternet',
    vPar: data
  })
}
// 界面启用按钮
export function setInternetEnabled(data) {
  return request({
    dmName: 'TCoreDM',
    lpName: 'SetInternetEnabled',
    vPar: data
  })
}
// 黑名单
export function setBlackListEnabled(data) {
  return request({
    dmName: 'TCoreDM',
    lpName: 'SetBlackListEnabled',
    vPar: data
  })
}
// 批量添加机器黑名单
export function addAgentInternet(data) {
  return request({
    dmName: 'TCoreDM',
    lpName: 'AddAgentInternet',
    vPar: data
  })
}
// 初始化规则
export function getInternetRules(data) {
  return request({
    dmName: 'TCoreDM',
    lpName: 'GetInternetRules',
    vPar: data
  })
}
// 设置规则
export function setInternetRules(data) {
  return request({
    dmName: 'TCoreDM',
    lpName: 'SetInternetRules',
    vPar: data
  })
}

// 本地参数增加机器
export function getControlGroupView(data) {
  return request({
    dmName: 'TCoreDM',
    lpName: 'GetControlGroupView',
    vPar: data
  })
}

export function getComponentTemplate(vPar) {
  return request({
    dmName: 'TCoreDM',
    lpName: 'GetComponentTemplate',
    vPar
  })
}

export function auditComponent(vPar) {
  return request({
    dmName: 'TCoreDM',
    lpName: 'AuditComponent',
    vPar
  })
}

export function getComponentLstByRole(vPar) {
  return request({
    dmName: 'TCoreDM',
    lpName: 'GetComponentLstByRole',
    vPar
  })
}

export function getComponenHelp(vPar) {
  return request({
    dmName: 'TCoreDM',
    lpName: 'GetComponenHelp',
    vPar
  })
}

export function getGetTargetTemplate(vPar) {
  return request({
    dmName: 'TCoreDM',
    lpName: 'GetGetTargetTemplate',
    vPar
  })
}

export function setTarget(vPar) {
  return request({
    dmName: 'TCoreDM',
    lpName: 'SetTarget',
    vPar
  })
}

export function auditTarget(vPar) {
  return request({
    dmName: 'TCoreDM',
    lpName: 'AuditTarget',
    vPar
  })
}

export function lstVirtualTarget(vPar) {
  return request({
    dmName: 'TCoreDM',
    lpName: 'LstVirtualTarget',
    vPar
  })
}

export function getTargetInfo(vPar) {
  return request({
    dmName: 'TCoreDM',
    lpName: 'GetTargetInfo',
    vPar
  })
}

export function broadcastControlMsg(data) {
  return request({
    dmName: 'TCoreDM',
    lpName: 'BroadcastControlMsg',
    vPar: data
  })
}

// 组件版本比对
export function cmpComponentVersion(vPar) {
  return request({
    dmName: 'TCoreDM',
    lpName: 'CmpComponentVersion',
    vPar
  })
}
